<!--动态刷新验证码-->
$(document).ready(function () {
    $('.captcha').click(function () {
        $.getJSON("/auth/refresh_captcha/", function (result) {
            $('#id_captcha').attr('src', result['image_url']);
            $('#id_captcha_key').val(result['hashkey'])
        });
    });
});